#include "student.h"
#include <QDebug>

Student::Student(QObject *parent) : QObject(parent)
{

}
void Student::treat()
{
    qDebug() << "吃饭";
}
void Student::treat(QString name)
{
    qDebug() << "请吃" << name.toUtf8().data() << endl;
}
